package com.jianganming.strategy.promotion;

public class PromotionActivity {
    private IPromotionStrategy iPromotionStrategy;

    public PromotionActivity(IPromotionStrategy iPromotionStrategy){
        this.iPromotionStrategy = iPromotionStrategy;
    }

    public void execute(){
        iPromotionStrategy.doPromotion();
    }
}
